package com.wooming.myserver.service.inter;

import com.wooming.myserver.entity.User;

/**
 * 用户服务接口
 *
 * @author wooming
 */
public interface UserService {
    User findUser(String username);
    User findUser(Integer id);
    String getJWT(User user) throws Exception;
    boolean register(String username, String password) throws Exception;
    boolean changeInformation(User user) throws Exception;
}
